package com.hanxing.kxcharge.module.operations.controller.admin.equipment.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.hanxing.kxcharge.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.hanxing.kxcharge.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 电桩管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EquipmentPageReqVO extends PageParam {

    @Schema(description = "运营商id", example = "4089")
    private Long orgId;

    @Schema(description = "电站id", example = "15609")
    private Long stationId;

    @Schema(description = "校价id", example = "9378")
    private Long operatorId;

    @Schema(description = "校价时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] operatorTime;

    @Schema(description = "电桩", example = "6030")
    private String equipmentOwnerId;

    @Schema(description = "设备品牌id", example = "7898")
    private Long equipmentBrandId;

    @Schema(description = "设备型号id", example = "25410")
    private Long equipmentModelId;

    @Schema(description = "版本号")
    private String version;

    @Schema(description = "枪数量")
    private Integer equipmentGunNumber;

    @Schema(description = "电桩名称", example = "芋艿")
    private String equipmentName;

    @Schema(description = "设备编码")
    private String equipmentCode;

    @Schema(description = "设备类型", example = "2")
    private Integer communicationType;

    @Schema(description = "通信运营商")
    private Integer communicationOperator;

    @Schema(description = "sim卡")
    private Boolean isSim;

    @Schema(description = "sim号码")
    private String numberSim;

    @Schema(description = "车位号")
    private String parkNo;

    @Schema(description = "有无车锁")
    private Boolean parkLock;

    @Schema(description = "价格设置")
    private Integer priceSet;

    @Schema(description = "固件版本")
    private String firmwareVersion;

    @Schema(description = "是否启用")
    private Boolean isEnableStart;

    @Schema(description = "是否在线")
    private Boolean isOnline;

    @Schema(description = "设备标准")
    private Integer equipmentStandard;

    @Schema(description = "充电模块品牌型号")
    private String chargingModuleBrandModel;

    @Schema(description = "充电枪线品牌型号")
    private String chargingGunCableBrandModel;

    @Schema(description = "电桩屏幕品牌")
    private String equipmentScreenBrand;

    @Schema(description = "电桩程序")
    private String equipmentProcedure;

    @Schema(description = "设备生产日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] productionDate;

    @Schema(description = "设备型号类型", example = "2")
    private String equipmentModelType;

    @Schema(description = "设置价格时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] setPriceTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "通信协议版本号")
    private String protocolVersion;

    @Schema(description = "网络链接类型", example = "2")
    private Integer networkLinkType;

    @Schema(description = "单价关联id", example = "11319")
    private Long costTemplateId;

}
